package com.yingoo.api;

import java.util.HashMap;

/**
 * Created by lenovo on 2017/7/14.
 */
public class HttpParam {
    private String url;
    private String charset = "utf-8";
    private HashMap<String, String> headers;
    private HashMap<String, String>  formdata;
    private Byte method = 0;
    private String  ip;
    private Integer port;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public HashMap<String, String> getHeaders() {
        return headers;
    }

    public void setHeaders(HashMap<String, String> headers) {
        this.headers = headers;
    }

    public HashMap<String, String> getFormdata() {
        return formdata;
    }

    public void setFormdata(HashMap<String, String> formdata) {
        this.formdata = formdata;
    }

    public String getCharset() {
        return charset;
    }

    public void setCharset(String charset) {
        this.charset = charset;
    }

    public Byte getMethod() {
        return method;
    }

    public void setMethod(Byte method) {
        this.method = method;
    }
}
